from settings.default import DefaultConfig


class DevelopmentConfig(DefaultConfig):
    DEBUG = True
    SQLALCHEMY_DATABASE_URI = 'mysql://root:root@127.0.0.1:3306/p8'
    SQLALCHEMY_TRACK_MODIFICATIONS = False  # 追踪数据的修改信号
    SQLALCHEMY_ECHO = True

    # REDIS配置
    REDIS_HOST = '127.0.0.1'
    REDIS_PORT = '6379'
    REDIS_DB = 2
    REDIS_PWD = ''

    APPID = "dingoajf8cqgyemqarekhr"
    APPSECRET = 'Fcah25vIw-koApCVN0mGonFwT2nSze14cEe6Fre8i269LqMNvrAdku4HRI2Mu9VK'

    CLIENT_ID = '2775107052'
    CLIENT_SECRET = '718b38b04fc387700cc1595b30875b19'